<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Login extends CI_Controller {

	function __construct(){
		parent::__construct();
		if(!isset($_SESSION)): session_start(); endif;
		$this->load->model('users_model');
	}

	public function index()
	{
		$data['title']= "Sign in My Life My Eulogy";
		$data['main_content'] = 'login_view';
		$data['error'] = (!empty( $_SESSION['error'] ) && isset($_SESSION['post_data']['email']))	?	$_SESSION['error']	:	null;
		$this->load->view('common/temp', $data);
	}


}// end of controller







